﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
		<% if (Model.NguoiDungModel.InfoText != null && Model.NguoiDungModel.InfoText != ""){ %>
			alert('<%= Model.NguoiDungModel.InfoText %>');
		<% } %>
	</script>
<div class="content_panel">
    <div class="box_center">
	    <div class="title"><span>Cập nhật thông tin tài khoản</span><div class="bg"><img src="../../Content/Images/Home/bg_title_right.png"></div></div>
	    <div class="content">
            <div class="column2">
                <div>
                    <!--start col home-->
                    <table border="0" cellpadding="1" cellspacing="1" width="100%">		
			            <tr>
				            <td valign="top">
				            <table align="center" border="0" cellpadding="1" cellspacing="1" width="100%">
					            <tbody>
					            <tr>
					            <td>
					            <% using (Html.BeginForm("CapNhatThongTinTaiKhoan", "Account", FormMethod.Post))
                                { %>
                                    <input type="hidden" name="NguoiDung_ID" value="<%= Model.NguoiDungModel.GetModel.LstObjModel[0].BaseInfo.ID %>"/>	
                                    <input type="hidden" name="NguoiDung_UserName" value="<%= Model.NguoiDungModel.GetModel.LstObjModel[0].BaseInfo.UserName %>"/>	
						            <table border="0" cellpadding="0" cellspacing="0" width="100%">
							            <tbody>
                                            <tr>
									            <td> </td>
								            </tr>
								            <tr>
									            <td valign="top">
							                        <TABLE cellSpacing=1 cellPadding=1 width="98%" align=center border=0>
                                                        <TBODY>
												            <TR>
													            <TD align=left colSpan=2 height="10">
                                                                </TD>
                                                            </TR>
                                                            <tr height="26">
													            <td style="width: 124px;" align="right">
														            Email:																	
                                                                </td>
                                                                <td>
													            &nbsp;<input class="input_left" name="NguoiDung_Email" value="<%= Model.NguoiDungModel.GetModel.LstObjModel[0].BaseInfo.Email  %>" style="width: 175px;" type="text">																		
                                                                </td>
												            </tr>
                                                            <tr height="26">
													            <td style="width: 124px;" align="right">
														            Họ tên:																
                                                                </td>
                                                                <td>
													            &nbsp;<input class="input_left" name="NguoiDung_HoTen" value="<%= Model.NguoiDungModel.GetModel.LstObjModel[0].ExtraInfo.HoTen %>" style="width: 175px;" type="text">																		
                                                                </td>
												            </tr>
												            <tr height="26">
													            <td style="width: 124px;" align="right">
													            Địa chỉ:
                                                                </td>
													            <td>
													            &nbsp;<textarea class="input_textarea" name="NguoiDung_DiaChi" cols="35" rows="4"><%= Model.NguoiDungModel.GetModel.LstObjModel[0].ExtraInfo.DiaChi %></textarea>																		</td>
												            </tr>
												            <tr height="26">
													            <td style="width: 124px;" align="right">
													            Điện thoại:																	
                                                                </td>
													            <td>
													            &nbsp;<input class="input_left" name="NguoiDung_Dienthoai" value="<%= Model.NguoiDungModel.GetModel.LstObjModel[0].ExtraInfo.Phone %>" style="width: 175px;" type="text">																		</td>
												            </tr>								
                                                        </TBODY>
                                                    </TABLE>									  
                                                </td>
                                            </tr>

											        
									            <tr>
									                <td align="center">
                                                    <br />
									                <input type="submit" name="sbt" id="sbt" value="Cập nhật" style="background-image: url(../../../Content/Images/Home/bgbutton.jpg); color: #FFFFFF; font-size: 16px; font-weight: bold; border: 1px #DBDBDB solid; height: 30px; cursor:pointer;" />
								                    </td>
									            </tr>
								                </tbody></table>
								            <% } %>							
                                            </td>
						                </tr>
					                </tbody>
                                </table>						 
                            </td>
		                </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
    
</asp:Content>
